ngl: Allow specifying texture formats
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 Oct 2021 03:36:49 +0000 (23:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 7 Oct 2021 01:35:25 +0000 (21:35 -0400)
commit917481468617b37703d752ca4cc2ed6ab50fc64b
tree4a0ab0c3c100ab026cd3237362d685455ef8bce0
parent2a08641f595f9e199f6d8cc5f58f34cb3080c322
ngl: Allow specifying texture formats

Allow passing a format when creating textures or render targets.

Update all callers to pass GL_RGBA8, which is the format we
have always used so far.
gsk/ngl/gsknglcommandqueue.c
gsk/ngl/gsknglcommandqueueprivate.h
gsk/ngl/gskngldriver.c
gsk/ngl/gskngldriverprivate.h
gsk/ngl/gsknglrenderer.c
gsk/ngl/gsknglrenderjob.c
gsk/ngl/gskngltexture.c
gsk/ngl/gskngltexturelibrary.c
gsk/ngl/gskngltextureprivate.h